<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
 * Core Loader
 *
 * This extends the CI_Loader library so we can set the views to another directory.
 *
 */
class MY_Loader extends CI_Loader{
	
	var $_ci_view_path		= '';
	
	function __construct()
	{
		parent::__construct();
		//$this->_ci_view_path = KBPATH .'layouts/';
        $this->_ci_view_paths = array(KBPATH.'layouts/'	=> TRUE);
	}
}

/* End of file core_loader.php */
/* Location: ./application/libraries/core_loader.php */ 